﻿using System;
using System.Collections.Generic;
using YmtAuth.Domain.Model.LoginAuth;

namespace YmtAuth.Domain.Repository
{
    public interface IUserLoginBillsRepository : IRepository_v1<UserLoginBill, string>
    {
        /// <summary>
        /// 设置用户SQL数据库锁定状态
        /// </summary>
        /// <param name="userid">用户ID</param>
        /// <param name="locked">0：非锁定；1：锁定</param>
        /// <returns></returns>
        int SetUserBillsSQLLockedStatus(int[] userid, int locked);

        IEnumerable<Tuple<int, string>> FindUserLockdInfo(int[] userid);
    }
}
